import HttpRequest from "@/utils/request";

export function list(data) {
  return HttpRequest("merchant/list", data, 'get');
}
export function info(data) {
  return HttpRequest("merchant/info", data, 'get');
}
export function getAll(data) {
  return HttpRequest("merchant/getAll", data, 'get');
}
export function add(data) {
  return HttpRequest("merchant/add", data, 'post');
}
export function edit(data) {
  return HttpRequest("merchant/edit", data, 'post');
}
export function del(data) {
  return HttpRequest("merchant/del", data, 'post');
}
export function open(data) {
  return HttpRequest("merchant/open", data, 'post');
}
